package com.bro.person.admin.controller;

import com.bro.person.admin.model.AdminUser;
import com.bro.person.admin.model.AdminUserCriteria;
import com.bro.person.admin.service.IAdminUserService;
import com.bro.person.base.controller.AbstractBroBaseController;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * AdminUser的 controller
 *
 * @author jdd
 * @version 1.0
 * @date 2018-10-11 09:53:41
 */
@RestController
@RequestMapping("/adminUser")
public class AdminUserController extends AbstractBroBaseController<AdminUser, AdminUserCriteria, Integer> {

    @Resource
    private IAdminUserService adminUserUserService;

    @Override
    protected IAdminUserService getService() {
        return adminUserUserService;
    }

    @Override
    protected String getPageBaseRoot() {
        return "/pages/adminUser";
    }
}